/* 游记详情页面样式 */
.travel-detail {
  min-height: 100vh;
  background-color: #fff;
  padding-bottom: 60px;
  position: relative;
}

.travel-header {
  position: relative;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
}

.back-button {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 100;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.travel-title {
  font-size: 22px;
  font-weight: bold;
  margin: 32px 0 16px;
  line-height: 1.3;
  color: #333;
  padding-right: 16px;
}

.travel-author {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.travel-author-info {
  margin-left: 12px;
  flex: 1;
}

.travel-author-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.travel-meta {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.travel-meta-item {
  margin-right: 12px;
}

.follow-button {
  --background-color: #ff6b6b;
  --text-color: #fff;
  --border-color: #ff6b6b;
  border-radius: 16px;
  font-size: 14px;
  padding: 4px 12px;
}

.follow-button.following {
  --background-color: #fff;
  --text-color: #ff6b6b;
  --border-color: #ff6b6b;
}

.travel-images {
  margin-bottom: 20px;
  height: 240px;
  position: relative;
}

.travel-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.no-images {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
  font-size: 14px;
}

.travel-content {
  padding: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.travel-actions-fixed {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 16px;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-top: 1px solid #f5f5f5;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.travel-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 4px 16px;
}

.travel-action-btn span {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.travel-action-btn .liked {
  color: #ff6b6b;
}

.loading-container,
.error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 16px;
  color: #999;
  background-color: #fff;
}

.loading-container span {
  margin-bottom: 12px;
}

/* 响应式布局 */
@media screen and (min-width: 768px) {
  .travel-detail {
    max-width: 768px;
    margin: 0 auto;
  }

  .travel-images {
    height: 360px;
  }

  .travel-image {
    height: 360px;
  }
}

.comments-section {
  margin: 16px 0 70px 0;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}
.comments-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.comment-content {
  flex: 1;
}
.comment-user {
  font-weight: 500;
  font-size: 14px;
}
.comment-text {
  font-size: 14px;
  margin: 2px 0;
}
.comment-time {
  font-size: 12px;
  color: #aaa;
}